<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
<title>管理菜单 - Powered By LIUSANY</title>
</head>
<body class="menu">
	<div class="body">
			<dl>
				<dt>
					<span>管理员&nbsp;</span>
				</dt>
				<shiro:hasAnyRoles name="管理员,用户" >
					<dd>
						<a href="${ctx}/admin/user/list" target="mainFrame">管理员列表</a>
					</dd>
					<dd>
						<a href="${ctx }/admin/group/list" target="mainFrame">用户组管理</a>
					</dd>
				</shiro:hasAnyRoles>
			</dl>
			<dl>
				<dt>
					<span>邮箱管理&nbsp;</span>
				</dt>
				<shiro:hasAnyRoles name="管理员" >
				    <dd>
						<a href="${ctx}/admin/email/tosetting" target="mainFrame">系统设置</a>
					</dd>
					<dd>
						<a href="${ctx}/admin/email/toupload" target="mainFrame">导入邮箱</a>
					</dd>
					<dd>
						<a href="${ctx}/admin/email/list" target="mainFrame">邮箱列表</a>
					</dd>
					<!--
					<dd>
						<a href="${ctx}/admin/email/toupload" target="mainFrame">邮件模板</a>
					</dd>
					-->
					<dd>
						<a href="${ctx}/admin/email/tosend" target="mainFrame">发送邮件</a>
					</dd>
					<dd>
						<a href="${ctx}/admin/email/viewtask" target="mainFrame">查看任务</a>
					</dd>
				</shiro:hasAnyRoles>
			</dl>
	</div>
</body>
</html>